package com.caipiao.pojo;

import java.util.Date;

/**
 * 用户表
 * 
 * @author wcyong
 * 
 * @date 2019-01-07
 */
public class SUser {
    private Integer id;

    private Date addTime;

    private Date modifyTime;

    private Integer status;
    
    private String mobile;
    
    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 微信id
     */
    private String wxId;

    /**
     * QQid
     */
    private String qqId;

    /**
     * 支付宝id
     */
    private String alipayId;

    /**
     * 头像
     */
    private String avator;

    /**
     * 推荐人id
     */
    private Integer userId;

    /**
     * 类型0普通用户1领导人
     */
    private Integer role;

    /**
     * 可以积分
     */
    private Float accountAble;

    /**
     * 冻结积分
     */
    private Float frozen;

    /**
     * 累计积分
     */
    private Float history;
    /**
     * 总积分
     */
    private Float total;
    /**
     * 累计中奖积分
     */
    private Float winning;

    /**
     * 累计奖励积分
     */
    private Float reward;

    /**
     * 邀请码
     */
    private String salt;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 是否实名  1已实名
     */
    private Integer isRealname;

    private Integer sex;//0 男 1女

    private Integer open;

    private Integer isNewVersion;// 0无新版本 1 有新版本

    private Integer versionCode;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public String getQqId() {
        return qqId;
    }

    public void setQqId(String qqId) {
        this.qqId = qqId;
    }

    public String getAlipayId() {
        return alipayId;
    }

    public void setAlipayId(String alipayId) {
        this.alipayId = alipayId;
    }

    public String getAvator() {
        return avator;
    }

    public void setAvator(String avator) {
        this.avator = avator;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Float getAccountAble() {
        return accountAble;
    }

    public void setAccountAble(Float accountAble) {
        this.accountAble = accountAble;
    }

    public Float getFrozen() {
        return frozen;
    }

    public void setFrozen(Float frozen) {
        this.frozen = frozen;
    }

    public Float getHistory() {
        return history;
    }

    public void setHistory(Float history) {
        this.history = history;
    }

    public Float getTotal() {
        return total;
    }

    public void setTotal(Float total) {
        this.total = total;
    }

    public Float getWinning() {
        return winning;
    }

    public void setWinning(Float winning) {
        this.winning = winning;
    }

    public Float getReward() {
        return reward;
    }

    public void setReward(Float reward) {
        this.reward = reward;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getIsRealname() {
        return isRealname;
    }

    public void setIsRealname(Integer isRealname) {
        this.isRealname = isRealname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getOpen() {
        return open;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }

    public Integer getIsNewVersion() {
        return isNewVersion;
    }

    public void setIsNewVersion(Integer isNewVersion) {
        this.isNewVersion = isNewVersion;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }
}